package com.group.eams.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName
public class Supplier {//供应商管理表

    @TableId(type = IdType.AUTO)
    //主键
    private Long id;
    //状态
    private Integer status;
    //供应商名称
    private String name;
    //供应商编号
    private String code;
    //供应商类型
    private Integer supplierType;
    //供应商等级
    private Integer level;
    //供应商来源
    private Integer source;
    //法人代表
    private String legalRepre;
    //统一社会信用代码
    private String crediteCode;
    //人数规模
    private String personScale;
    //注册资本
    private Double registCapital;
    //公司类型
    private Integer companyType;
    //所属行业
    private Integer industry;
    //营业执照有效期
    private String expiratDate;
    //成立时间
    private Date establishDate;
    //企业信用等级
    private Integer creditRate;
    //注册地址
    private String registAddress;
    //经营地址
    private String operateAddress;
    //备注
    private String remark;
    //发票抬头
    private String invoiceTitle;
    //纳税人识别号
    private String taxIdentify;
    //开户银行
    private String bankName;
    //银行账号名称
    private String accountName;
    //银行账号
    private String bankAccount;
    //发票类型
    private Integer invoiceType;
    //增值税税率%
    private Double vatRate;
    //供应商人员id(外键)
    private Long supplierPeronnelId;
    //创建时间
    private Date created;
    //更新时间
    private Date updated;

}